package com.qijian.mold.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 模具仓库
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2025/3/28 16:48
 */
@Data
@TableName(value = "mold")
public class Mold extends BaseEntity {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 模具编码
     */
    private String code;

    /**
     * 模具名称
     */
    private String name;

    /**
     * 模具规格
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String model;

    /**
     * 寿命
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer life;

    /**
     * 产量
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer output;

    /**
     * 状态：0-进行中、1-空闲
     */
    private Integer status;
}
